class Footer {
    constructor() {
        this.footer = document.createElement('div');
        this.footer.innerHTML = '这是底部区域';
        this.init();
        document.body.appendChild(this.footer);
    }

    init() {}

    switch(color) {
        this.footer.style.background = color;
    }
}

export default Footer;
